<html>
<head>
    <title>JSP:A+B</title>
</head>
<body>
<form name="ok" action="AB.jsp" method="get">
    A:<input type="text" name="A" value="0"/><br/>
    B:<input type="text" name="B" value="0"/><br/>
    <input type="submit" name="submit" value="submit"/>
    <input type="reset" name="reset" value="reset"/>
</form>
</body>
</html>